package org.gurms.web.action;

import org.gurms.common.config.GlobalConfig;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.ModelDriven;

public abstract class BaseAction extends ActionSupport implements ModelDriven {

	protected Logger logger = LoggerFactory.getLogger(getClass());
	
	// 进行增删改操作后,以redirect方式重新打开action默认页的result名.
    public static final String RESULT_NONE     = "none";
	public static final String RESULT_RELOAD   = "reload";
	public static final String RESULT_DIVCSS   = "login";
	public static final String RESULT_FRAMESET = "frameset";
	public static final String RESULT_INDEX    = "index";
	public static final String RESULT_DETAIL   = "detail";
	public static final String RESULT_CONFIG   = GlobalConfig.SYS_LAYOUT;
	
	// session中的key值
	public static final String S_KEY_USER = "session_user";	
	public static final String S_KEY_MENU = "session_menu";	
}
